package com.neusoft.ysu.his.service;

import com.neusoft.ysu.his.entity.CommonResult;
import com.neusoft.ysu.his.entity.Register;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.UnsupportedEncodingException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 作者：赵子鉴
 * @since 2023-08-29
 */
public interface IRegisterService  {

    CommonResult findByRegnum(int regnum);

    CommonResult insert(Register register);

    CommonResult update(Register register);

    CommonResult findAll();

    CommonResult deleteByRegnum(Register register);

    CommonResult findByName(int name);

    CommonResult loginCheck(Register register)throws UnsupportedEncodingException;
}
